package com.jiegui.payinterface.handler;


import com.jiegui.payinterface.bean.PaymentRes;

import java.util.Map;

/**
 * 接口支付
 *
 * @author wuqicheng
 * @date 2021/3/10
 */
public interface PaymentHandler {

    /**
     * 支付
     */
    PaymentRes pay(Map<String, String> map);

    /**
     * 查询
     */
    PaymentRes query(Map<String, String> map);

    /**
     * 退款
     */
    PaymentRes refund(Map<String, String> map);

    /**
     * 提现
     */
    PaymentRes drawcash(Map<String, String> map);

    /**
     * 提现查询
     */
    PaymentRes queryDrawCash(Map<String, String> map) throws Exception;


}
